package Book;

public class Book {

    private String bookName;
    private String author;
    private int price;
    private String type;
    private boolean state;

    public Book(String bookName, String author, int price, String type) {
        this.bookName = bookName;
        this.author = author;
        this.price = price;
        this.type = type;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", price=" + price +
                ", type='" + type + '\'' +
                ", state=" + state +
                '}';
    }
}
